package com.etc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value="EUREKA-REGIST1", fallback=DefaultFallBack.class)
public interface HiService {
    //对应要调用的client-user微服务控制层请求方法
    @RequestMapping("/hi")
    String getUser();
}
